<!--[*
// ----------------------------------------------------------------------
// Source file:   $Source  $
//
// Last changes from:  $Author: landseer $
//
// Revision:           $Revision: 1.7 $
//
// Date of revision    $Date: 2005/03/21 16:33:12 $
//
// ----------------------------------------------------------------------
*]-->

<!--[ include file=pncommerce_admin_commonHeader.html ]-->

<!--pnCommerce finalmod tax-->
	
<form name="taxedit" action="<!--[ pncModURL type=fmtax func=configuration ]-->" method="post">
 <!--IMPORTANT!-->
<input type="hidden" name="authid" value="<!--[pnsecgenauthkey module="pncommerce"]-->">

<table width="100%">
<!--[ if $TaxCount==0 ]-->

    <tr width="100%">
        <td colspan="3" width="100%" align='center'>
			<!--[pnml name='_PNC_YOUHAVENOSALESTAXSET']-->
			<br>
		</td>
	</tr>

<!--[ else ]-->

	<tr width="100%">
	    <td colspan="3" width="100%" align='center'>
		    <b><!--[pnml name='_PNC_EXISTINGSALESTAX']-->:</b>
		</td>
	</tr>

    <tr width="100%">
        <td colspan="3">
            <hr width="100%" size="2" noshade>
        </td>
    </tr>

    <!--[ foreach item=Tax from=$TaxConfig.Taxes ]-->
    
    <tr>
        <td>
            <!--[pnml name='_PNC_TAXNAME']-->:&nbsp;
            <input type="text" name="name_<!--[ $Tax.Name ]-->" value="<!--[ $Tax.Name ]-->" size="10">
            <!--[pnml name='_PNC_TAXPERCENTAGE']-->:&nbsp; 
            <input type="text" name="percentage_<!--[ $Tax.Name ]-->" value="<!--[ $Tax.Percentage ]-->" size="10">%
        </td>
        <td>
            <!--[pnml name='_PNC_TAXCONDITION']-->&nbsp; 
        </td>
        <td>
            <table>
                <tr>
                    <td>
                        <input type="radio" name="condition_<!--[ $Tax.Name ]-->" value="city" <!--[ $Tax.Condition1HTML ]-->>
                    </td>
                    <td>
                        <!--[ pnml name='_PNC_CITY' ]-->&nbsp;=&nbsp;
                        <input type="text" name="value1_<!--[ $Tax.Name ]-->" value="<!--[ $Tax.Value1 ]-->" size="30">
                    </td>
                </tr>
                <tr>
                    <td>
                        <input type="radio" name="condition_<!--[ $Tax.Name ]-->" value="state" <!--[ $Tax.Condition2HTML ]-->>
                    </td>
                    <td>
                        <!--[ pnml name='_PNC_STATE' ]-->&nbsp;=&nbsp;
                        <select name="value2_<!--[ $Tax.Name ]-->">
                        <!--[ if $Tax.Value2 ]-->
                        <option value="<!--[ $Tax.Value2 ]-->" selected><!--[ $Tax.Value2 ]--></option>
                        <!--[ /if ]-->
                        <!--[ $FederalStateList ]-->
                        </select>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td colspan="2" align="left">
            <input type="checkbox" name="taxsh_<!--[ $Tax.Name ]-->" value="on" <!--[ $Tax.TaxSHHTML ]-->>&nbsp;<!--[pnml name='_PNC_TAXSHIPANDHANDLING']-->
        </td>
        <td align="right">
		    <!--[ pnml name='_PNC_REMOVETHISTAX' ]-->:&nbsp;
			<input type="checkbox" name="remove_<!--[ $Tax.Name ]-->" value="on">
		</td>
	</tr>
	<tr>
	    <td colspan="3">
	        <hr noshade width=100%" size="2">
	    </td>
	</tr>
    <!--[ /foreach ]-->

<!--[ /if ]-->

    <tr width="100%">
        <td colspan="3" align="center">
            <!--[pnml name='_PNC_ADDNEWSALESTAX']-->:
        </td>
    </tr>
    <tr width="100%">
        <td colspan="3">
            <hr size="2" noshade width="100%">
        </td>
    </tr>
    <tr>
        <td>
            <!--[pnml name='_PNC_TAXNAME']-->:&nbsp;
            <input type="text" name="name_new" value="" size="10">
            <!--[pnml name='_PNC_TAXPERCENTAGE']-->:&nbsp; 
            <input type="text" name="percentage_new" value="" size="10">%
        </td>
        <td>
            <!--[pnml name='_PNC_TAXCONDITION']-->&nbsp; 
        </td>
        <td>
            <table>
                <tr>
                    <td>
                        <input type="radio" name="condition_new" value="city">
                    </td>
                    <td>
                        <!--[ pnml name='_PNC_CITY' ]-->&nbsp;=&nbsp;
                        <input type="text" name="value1_new" value="" size="30">
                    </td>
                </tr>
                <tr>
                    <td>
                        <input type="radio" name="condition_new" value="state" checked>
                    </td>
                    <td>
                        <!--[ pnml name='_PNC_STATE' ]-->&nbsp;=&nbsp;
                        <!--[ pncStateDropdown VariableName='value2_new' Country=$TaxConfig.UseCountry ]-->
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td colspan=3" align="left">
            <input type="checkbox" name="taxsh_new" value="on">&nbsp;<!--[pnml name='_PNC_TAXSHIPANDHANDLING']-->
        </td>
    </tr>
    <tr width="100%">
        <td colspan="3">
            <hr width="100%" size="2" noshade>
        </td>
    </tr>
    <tr>
        <td colspan="3" align="center">
            <input type="submit" name="submit" value="<!--[pnml name='_PNC_SUBMIT']-->">
        </td>
    </tr>

</table>
</form>
<br><br>
<form action="<!--[ pncModURL type=fmtaxapi func=configuration ]-->" method="post">
 <!--IMPORTANT!-->
<input type="hidden" name="authid" value="<!--[pnsecgenauthkey module="pncommerce"]-->">
<!--[ pnml name='_PNC_USE' ]--> 
<select name="usecountry">
<option value="<!--[ pnml name='_PNC_USA' ]-->" <!--[ $UseCountryHTML.usa ]-->><!--[ pnml name='_PNC_USEUSSTATES' ]--></option>
<option value="<!--[ pnml name='_PNC_CANADA' ]-->" <!--[ $UseCountryHTML.canada ]-->><!--[ pnml name='_PNC_USECANPROVINCES' ]--></option>
</select>
&nbsp;<input type="submit" name="submit2" value="<!--[pnml name='_PNC_SUBMIT']-->">
</form>



<!--/pnCommerce finalmod tax-->

<!--[ include file=pncommerce_admin_commonFooter.html ]-->
